package com.qf.fmall2204.shopcart.mapper;

import com.qf.fmall2204.shopcart.entity.ShoppingCart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 购物车  Mapper 接口
 * </p>
 *
 * @author dong
 * @since 2023-04-24
 */
@Mapper
public interface ShoppingCartMapper extends BaseMapper<ShoppingCart> {

    List<ShoppingCart> listShopcart(@Param("userId") Integer userId);

    List<ShoppingCart> listbycids(@Param("cids") Integer[] cids);
}
